package com.tsoj.propertise;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * jwt配置类
 */
@Component
@ConfigurationProperties(prefix = "oj.jwt")
@Data
public class JwtPropertise {

    private String userSecretKey;
    private long userTtl;
    private String userTokenName;
}
